﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/App_Master/AdminMaster2.master" CodeFile="djList.aspx.cs" Inherits="manage_djList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="apply">
  <div class="apply2">
  <%-- <uc_left_m:left_menu ID="left_m" runat="server" />--%>
    <div class="myul_r">
      <div class="mod_pad4">
<div class="hd_admin">
&nbsp;&nbsp;&nbsp;&nbsp;<strong>中奖列表</strong>
</div>
        <div class="admin_tab_box1"><br />
        <label class="bold green1">请选择种类：</label> 
        <asp:dropdownlist runat="server" id="caipiaoType" AutoPostBack="true" onselectedindexchanged="caipiaoType_SelectedIndexChanged"  >
    <asp:ListItem Value="0">全部</asp:ListItem> 
    <asp:ListItem Value="1">双色球</asp:ListItem> 
<asp:ListItem Value="2">大乐透</asp:ListItem> 
<asp:ListItem Value="3">排列三</asp:ListItem> 
<asp:ListItem Value="4">排列五</asp:ListItem> 
<asp:ListItem Value="5">福彩3D</asp:ListItem> 
<asp:ListItem Value="6">七星彩</asp:ListItem> 
<asp:ListItem Value="7">七乐彩</asp:ListItem>
    </asp:dropdownlist> 
          <div class="clear"></div>
       <div class="coupons">
             <table class="w top20" width="1060" border="0" cellspacing="0" cellpadding="0"  >
              <tr class="t">
                <td style=" width:200px;">用户编号</td>     
                <td style=" width:300px;">期数</td>
                <td style=" width:500px;">购选号码</td>      
                <td style=" width:460px;">注数</td>            
                <td style=" width:460px;">倍数</td>           
                <td style=" width:460px;">购买方式</td>  
              </tr>            
              <%if (lottery != null && lottery.Count > 0)
                { %>
                <%for (int k = 0; k < lottery.Count; k++)
                  { %>
              <tr >
                <td style=" width:209px;"><%=lottery[k].User_id%></td>       
                <td style=" width:243px;">第<%=lottery[k].LotteryQs%>期</td>       
                <td style=" width:330px;"><%=lottery[k].LotteryNo%></td>      
                <td style=" width:460px;"><%=lottery[k].LotteryCount%></td>      
                <td style=" width:460px;"><%=lottery[k].LotteryMultiple%></td>   
                <td style=" width:460px;"><%if(lottery[k].LotteryType==5){if(lottery[k].fcType==1){%>
                                            直选
                                            <%}else if(lottery[k].fcType==2){%>
                                            通选
                                            <%}else if(lottery[k].fcType==3){%>
                                            组三
                                            <%}else if(lottery[k].fcType==4){%>
                                            组六
                                            <%}else if(lottery[k].fcType==5){%>
                                            和数
                                            <%}else if(lottery[k].fcType==6){%>
                                            包选
                                            <%}else if(lottery[k].fcType==7){%>
                                            1D
                                            <%}else if(lottery[k].fcType==8){%>
                                            2D
                                            <%}else if(lottery[k].fcType==9){%>
                                            大小奇偶
                                            <%}else if(lottery[k].fcType==10){%>
                                            拖拉机
                                            <%}else if(lottery[k].fcType==11){%>
                                            猜三同
                                            <%}  %> 
                <%}else{ if(lottery[k].fcType==0){%>
                                            单式
                                            <%}else if(lottery[k].fcType==1){%>
                                            复式
                                            <%}else if(lottery[k].fcType==2){%>
                                            胆拖
                                            <%}
                                            }%></td>     
              </tr>
              <%} %>
              <%}
                else
                { %>
             <tr>
                <td  colspan="6" style=" width:1060px;"><div class='no_data'>^_^&nbsp;&nbsp;没有符合条件的数据！</div></td>
              </tr> 
              <%} %>             
            </table>
          </div> 
        </div>
                 <div style="text-align:center"> 
                <webdiyer:aspnetpager SubmitButtonClass="buttons"  ID="AspNetPager1" 
                    runat="server" AlwaysShow="True" FirstPageText="首页"
                        NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"  
                        OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:aspnetpager> </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="clear"></div>
</div> 
    <script language="javascript" type="text/javascript">
        function checkFrmSubmit(vid, realmoney) {
            if (confirm('您确认给用户提现' + realmoney + '元? 请向此用户转账' + realmoney + '元！')) {
                jQuery.ajax({
                    url: "/Ajax/Otsql.ashx",
                    data: { t: 'ver_u_tx', utxid: vid },
                    type: "POST",
                    success: function (data) {
                        if (data + '' == 'True' || data + '' == 'true') {
                            alert('确认用户提现成功！');
                            window.location.reload();
                        } else {
                            alert('确认提现失败，请检查！');
                        }
                    }
                });
            }
        }
    </script>
    <script language="javascript" type="text/javascript">
        function delthe(id) {
            if (confirm("删除后不能恢复！确定不同意此提现，要将此提现记录删除？")) {
                jQuery.ajax({
                    url: "/Ajax/Otsql.ashx",
                    data: { t: 'delete_txord', long_eid: id },
                    type: "POST",
                    success: function (data) {
                        if (data + '' == 'True' || data + '' == 'true') {
                            alert("删除成功!");
                            window.location.reload();
                        } else {
                            alert('删除失败，请检查!');
                        }
                    }
                });

            }
        }
</script>
</asp:Content>